html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-size: 14px;
}
#app {
  width: 100%;
  height: 100%;
  background: #f4f4f4;
  /* font-size: 14px; */
}

img {
  width: 100%;
  height: 100%;
}

.my-coupon {
  overflow: hidden;
}

/* 切换tab */
.my-coupon .coupon-tab {
  display: flex;
  background: #fff;
}

.coupon-tab .tab-item {
  flex: 1;
  text-align: center;
}

.coupon-tab .tab-item .tab-title {
  line-height: 45px;
  font-weight: 500;
  font-size: 15px;
  color: #000000;
}

.coupon-tab .tab-item .tab-active {
  width: 45px;
  height: 4px;
  background: #ef3f44;
  margin: 0 auto;
}

/* 优惠券列表 */
.coupon-list {
  margin: 19px 15px;
}

.coupon-list .coupon-item {
  margin-bottom: 24px;
  position: relative;
}

.coupon-item .item-content {
  display: flex;
  position: relative;
}

.item-active {
  color: #CDCBCB;
}


.coupon-item .item-left {
  color: #CDCBCB;
  z-index: 1;
}
.item-active .item-left{
  color: #ba0d11;
}

.item-left .coupon-price {
  width: 112px;
  height: 24px;
  font-family: PingFang SC;
  font-weight: 500;
  line-height: 24px;
  font-size: 33px;
  /* color: #cdcbcb; */
  margin: 24px 0 12px 25px;
}

.item-left .coupon-price span {
  font-size: 12px;
}

.item-left .use-text {
  font-size: 9px;
  font-weight: 400;
  /* color: #cdcbcb; */
  line-height: 20px;
  text-align: center;
  margin-bottom: 7px;
}

.is-new {
  position: absolute;
  top: 1px;
  left: 7px;
  width: 28px;
  height: 29px;
  z-index: 1;
}

.top-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.coupon-item .item-right {
  z-index: 1;
  color: #CDCBCB;
}

.item-active .item-right {
  color: #333333;
}

.item-right .coupon-title {
  font-size: 13px;
  font-family: PingFang SC;
  font-weight: 550;
  margin: 12px 0 15px -4px;
  line-height: 13px;
}

.item-right .use-tips {
  font-size: 11px;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 11px;
}

.item-right .validity-period {
  font-size: 9px;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 14px;
  margin-top: 12px;
}

.item-footer {
  background: #f5f5f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 25px;
  position: relative;
}

.item-footer .show-detail {
  margin-left: 40px;
  z-index: 1;
  line-height: 25px;
  font-weight: 550;
  font-size: 11px;
  color: #CDCBCB;
}

.item-active .show-detail{
  color: #000000;
}

.item-footer .coupon-status {
  margin-right: 27px;
  z-index: 1;
  line-height: 25px;
  width: 50px;
  height: 16px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 16px;
  background: #CDCBCB;
  color: #FFFFFF;
  text-align: center;
}

.item-active .coupon-status {
  color: #000000;
  background: #fad496;
}

.item-footer .bottom-img {
  position: absolute;
  bottom: -15px;
  left: 0;
}

.coupon-item .item-img {
  position: absolute;
  top: 13px;
  right: 12px;
  width: 80px;
  height: 64px;
  z-index: 2;
}

/* 空状态样式 */
.my-coupon .empty-status {
  margin: 0 auto;
  width: 147px;
}

.empty-status .empty-img {
  width: 147px;
  height: 147px;
  margin: 42px 0;
}

.empty-status .empty-text {
  height: 14px;
  font-size: 14px;
  font-weight: 550;
  color: #000000;
  text-align: center;
  line-height: 14px;
}

/* 查看失效卡 */
.see-invalid {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  height: 14px;
  font-size: 14px;
  font-weight: 550;
  color: #bfbfbf;
}
